package card;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * 扑克牌
 * User:岁亮亮
 * Date:2024-01-18
 * TIME:10:14
 */
public class Card {
    private String color;
    private int number;
    private int size=52;

    public Card(String color, int number) {
        this.color = color;
        this.number = number;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public int Size() {
        return size;
    }

    @Override
    public String toString() {
        return color+" : "+number+" ";
    }

    public void setSize(int size) {
        this.size = size;
    }
}
